課程資訊
課程名稱
程式語言編譯器技術
Compiler Technology of Programming Languages 
開課學期
107-2 
授課對象
電機資訊學院  生醫電子與資訊學研究所  
授課教師
王 凡 
課號
EE5189 
課程識別碼
921 U2670 
班次
 
學分
3.0 
全/半年
半年 
必/選修
選修 
上課時間
星期一2,3,4(9:10~12:10) 
上課地點
博理113 
備註
總人數上限:100人 
課程網頁
http://cc.ee.ntu.edu.tw/~farn/courses/Compiler/index.htm 
課程簡介影片
 
核心能力關聯
本課程尚未建立核心能力關連
課程大綱
為確保您我的權利,請尊重智慧財產權及不得非法影印
課程概述

課程目標
 
課程要求
 
預期每週課後學習時數
 
Office Hours
另約時間 
指定閱讀
 
參考書目
 
評量方式
(僅供參考)
 
No.
項目
百分比
說明
1. 
no 
100% 
 
 
課程進度
週次
日期
單元主題
第1週
02/18  1) Course Organization, 2) Chapter 1: Introduction 
第2週
02/25  Chapter 2: A Simple Compiler (Project I: A Simple Compiler) 
第3週
03/04  Chapter 3: Scanner (registratsion of survey presentation main paper) 
第4週
03/11  Chapter 4: Grammar and Parsing 
第5週
03/18  Chapter 5: Top-Down Parsing
(Project I submission, project II: C– Compiler: A Scanner and a Parser) 
第6週
03/25  Survey presentation (Deadline of the paper survey PPT Submission! ) 
第7週
04/01  Survey presentation 
第8週
04/08  Chapter 6: Bottom-up Parsing
(Project II submission, project III: A Type Checker) 
第9週
04/15  Chapter 7: Syntax Directed Translation  
第10週
04/22  Chapter 10: Runtime Support 
第11週
04/29  Chapter 8: Declaration Processing and Symbol Table, Chapter 9: Semantic Analysis 
第12週
05/06  Code Generation for ARMv8
(Project III submission, project IV: Code Generation and optimization) 
第13週
05/13  Code Generation for Data Accesses and Simple Register Allocation 
第14週
05/20  Code Generation for Control Structures 
第15週
05/27  Code Generation for Arrays, Procedure Calls 
第16週
06/03  Survey presentation 
第17週
06/10  Optimization: Parallelization, CSE, Register Allocation, Code Scheduling,
Vectorization, Memory Hierarchy related optimization, … 
第18週
06/17  Final Exam (Closed Book)
(80% of the points are from variations of the textbook exercises.) 
第19週
06/24  Survey presentation(if necessary) (Project IV submission)